package com.dao;

import com.entity.Closeregistration;
import com.entity.CloseregistrationExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface CloseregistrationDao {
    long countByExample(CloseregistrationExample example);

    int deleteByExample(CloseregistrationExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(Closeregistration record);

    int insertSelective(Closeregistration record);

    List<Closeregistration> selectByExample(CloseregistrationExample example);

    Closeregistration selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") Closeregistration record, @Param("example") CloseregistrationExample example);

    int updateByExample(@Param("record") Closeregistration record, @Param("example") CloseregistrationExample example);

    int updateByPrimaryKeySelective(Closeregistration record);

    int updateByPrimaryKey(Closeregistration record);

    Closeregistration findByServiceid(Integer serviceid);
}